// 摄妖香
export async function run(characters, items_key, index) {
    G.Characters.remove_item(characters["id"], items_key, index, 1);
    G.CharactersTask.add_task(characters["id"], 9, {
        "开始时间": Math.floor(Date.now() / 1000),
        "结束时间": Math.floor(Date.now() / 1000) + (3 * 60 * 60),
        "超时取消": true,
        "characters_id": characters["id"],
    });
    ClientUtils.send_characters_basic_prompt(characters["id"], "#Y/你使用了摄妖香");
    G.EventCallback.publish_event("使用道具", [characters, items_key, index, "摄妖香"]);
}